package com.maxlen.camunda.constant;

public class CamundaConstant {

    public static final String AFL_FORM_NAME = "name";

    public static final String AFL_FORM_DAY = "day";

    public static final String AFL_FORM_REASON = "reason";

    public static final String AFL_FORM_APPROVED = "approved";
    public static final String RESOURCE_NAME = "defaultBpmn.bpmn";

    public static final String BPMN = "bpmn";

    public static final String BPMN_SUFFIX = ".bpmn";

    public static final String FORM = "form";

    public static final String FORM_SUFFIX = ".form";

    public static final String FORM_SPLIT = "\\.";

    public static final String USER = "MaxLen";

    public static final String ID = "id";

    public static final String BUSINESS = "business";

    public static final String PROCESS_DEFINITION_NAME = "processDefinitionName";

    public static final String START_TIME = "startTime";

    public static final String END_TIME = "endTime";

    public static final String DEFAULT_BPMN = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n" +
            "<bpmn:definitions xmlns:bpmn=\"http://www.omg.org/spec/BPMN/20100524/MODEL\" xmlns:bpmndi=\"http://www.omg.org/spec/BPMN/20100524/DI\" xmlns:dc=\"http://www.omg.org/spec/DD/20100524/DC\" xmlns:modeler=\"http://camunda.org/schema/modeler/1.0\" id=\"Definitions_0acpkqy\" targetNamespace=\"http://bpmn.io/schema/bpmn\" exporter=\"Camunda Modeler\" exporterVersion=\"5.8.0\" modeler:executionPlatform=\"Camunda Platform\" modeler:executionPlatformVersion=\"7.18.0\">\n" +
            "  <bpmn:process id=\"replaceId\" name=\"replaceName\" isExecutable=\"true\">\n" +
            "    <bpmn:startEvent id=\"StartEvent_1\" />\n" +
            "  </bpmn:process>\n" +
            "  <bpmndi:BPMNDiagram id=\"BPMNDiagram_1\">\n" +
            "    <bpmndi:BPMNPlane id=\"BPMNPlane_1\" bpmnElement=\"replaceId\">\n" +
            "      <bpmndi:BPMNShape id=\"_BPMNShape_StartEvent_2\" bpmnElement=\"StartEvent_1\">\n" +
            "        <dc:Bounds x=\"152\" y=\"82\" width=\"36\" height=\"36\" />\n" +
            "      </bpmndi:BPMNShape>\n" +
            "    </bpmndi:BPMNPlane>\n" +
            "  </bpmndi:BPMNDiagram>\n" +
            "</bpmn:definitions>";

    public static final String DEFAULT_FORM = "{\n" +
            "  \"type\": \"default\",\n" +
            "  \"id\": \"replace\",\n" +
            "  \"exporter\": {\n" +
            "    \"name\": \"Camunda Modeler\",\n" +
            "    \"version\": \"5.8.0\"\n" +
            "  },\n" +
            "  \"components\": [],\n" +
            "  \"executionPlatform\": \"Camunda Platform\",\n" +
            "  \"executionPlatformVersion\": \"7.18.0\"\n" +
            "}\n";

    public static final String REPLACE = "replace";

    public static final String REPLACE_Id = "replaceId";

    public static final String REPLACE_NAME = "replaceName";

    public static final String COMPLETED = "COMPLETED";

    public static final String ACTIVE = "ACTIVE";

    public static final String SUSPENDED = "SUSPENDED";

    public static final String RESOLUTION = "resolution";

    public static final String ASSIGNEE_LIST = "assigneeList";

    public static final String TEST = "Test";

    public static final String ASSIGNEE = "assignee";

    public static final String CONDITION = "condition";

    public static final String ASSIGNEE_SPLIT = ";";

    public static final String USER_DEPT_SPLIT = "-";

    public static final String OPINION_SPLIT = ";";

    public static final String ACTIVITY_SPLIT = "#";

    public static final String AUTH = "auth";

    public static final String OPINION = "opinion_default";

    public static final String NR_OF_ACTIVE_INSTANCES = "nrOfActiveInstances";

    public static final String NR_OF_INSTANCES = "nrOfInstances";

    public static final String NR_OF_COMPLETED_INSTANCES = "nrOfCompletedInstances";

    public static final String ADD_SIGN = "加签";

    public static final String DELETE_SIGN = "减签";

    public static final String DELEGATE = "委托";

    public static final String COMPLETE_DELEGATE = "完成委托";

    public static final String CANCEL_DELEGATE = "取消委托";

    public static final String RELAY_COMPLETE = "转办";

    public static final String RETURN_BACK = "退回上一步";

    public static final String COMPLETE = "办理";

    public static final String SUCCESS = "同意";

    public static final String ERROR = "拒绝";

    public static final String SUCCESS_ATTR = "success";

    public static final String ERROR_ATTR = "error";

    public static final String TRUE = "true";

    public static final String FALSE = "false";

    public static final String REPLACE_MULTI_INSTANCE_BODY = "#multiInstanceBody";

    public static final String MULTI_INSTANCE_BODY = "multiInstanceBody";

    public static final String EXCLUSIVE_GATEWAY = "exclusiveGateway";

    public static final String INCLUSIVE_GATEWAY = "inclusiveGateway";

    public static final String PARALLEL_GATEWAY = "parallelGateway";

    public static final String TYPE = "type";

    public static final String CONDITION_TEXT = "conditionText";

    public static final String USER_TASK = "userTask";

    public static final String START_EVENT = "startEvent";

    /** 委托状态 发出委托 */
    public static final String PENDING = "PENDING";

    /** 委托状态 完成委托 */
    public static final String RESOLVED = "RESOLVED";

    /** 校验返回结果码 */
    public final static String UNIQUE = "0";

    public final static String NOT_UNIQUE = "1";

    public final static String COMMENT = "未设置审核人";

}
